package ar.edu.itba.it.cg.grupo01.game.terrain;

import com.jme.math.Vector3f;
import com.jme.scene.Node;

@SuppressWarnings("serial")
public abstract class Checkpoint extends Node {

	private Vector3f pos;

	public Checkpoint() {
		super();
	}

	public Checkpoint(String name, Vector3f pos) {
		super(name);
		this.pos = pos;
	}
	
	public Vector3f getPosition() {
		return pos.clone();
	}
	
	public void place() {
		localTranslation.x = pos.x;
		localTranslation.y = pos.y;
		localTranslation.z = pos.z;
	}

	public long getScore() {
		return 0L;
	}
	
}
